<?php 
/* SVN FILE: $Id$ */
/* Season Test cases generated on: 2010-02-13 15:11:21 : 1266066681*/
App::import('Model', 'Season');

class SeasonTestCase extends CakeTestCase {
	var $Season = null;
	var $fixtures = array('app.season');

	function startTest() {
		$this->Season =& ClassRegistry::init('Season');
	}

	function testSeasonInstance() {
		$this->assertTrue(is_a($this->Season, 'Season'));
	}

	function testSeasonFind() {
		$this->Season->recursive = -1;
		$results = $this->Season->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('Season' => array(
			'id' => 1,
			'start_date' => '2010-02-13',
			'end_date' => '2010-02-13',
			'season_name' => 'Lorem ipsum dolor sit amet',
			'description' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida,phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam,vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit,feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.'
		));
		$this->assertEqual($results, $expected);
	}
}
?>